<?php

/*
 * ARGUMENTS
 * $module -> Module Name
 * $action -> Action Name
 */

if ($sf_user->isAuthenticated()){
      
    if (!isset($menu)){
        
        
        

        $menu=new ioMenu();
        
        // First Level
        $menu->addChild('Administrative');
        $menu->addChild('Monitoring');


        //Second Level
        $menu['Administrative']->addChild('Plant', '@homepage');
        $menu['Administrative']->addChild('Subplant','@subplant');
        $menu['Administrative']->addChild('Network','@network');
        $menu['Administrative']->addChild('Power Devices','@powerdev');
        $menu['Administrative']->addChild('Supplier','@supplier');
        $menu['Administrative']->addChild('Subcontract','@subcontract');
        $menu['Administrative']->addChild('Contact','@contact');
        $menu['Administrative']->addChild('Client','@client');
        
        $menu['Monitoring']->addChild('Network Monitor','@netmonitor');
        $menu['Monitoring']->addChild('KPI - Daily','@kpiday');
        $menu['Monitoring']->addChild('Data Query','@quest');
       // $menu['Monitoring']->addChild('Create Report','@report');
                 
    }
    echo $menu->render(); 

}else
   echo "&nbsp;";
             

?>
